package leaf.science.ui.camera
{

import com.util.Logger;

import flash.display.MovieClip;
import flash.events.MouseEvent;


public class DemoHotspot extends MovieClip
{

	public var id:uint;
	public var frame:Number = 1;
	public var toolTip:DemoToolTip;

	public function DemoHotspot()
	{
		this.buttonMode = true;
		
//		this.addEventListener( MouseEvent.ROLL_OVER, onRollOver );
//		this.addEventListener( MouseEvent.ROLL_OUT, onRollOut );
	}
	
	private function onRollOver( evt:MouseEvent ):void
	{
		Logger.log( "ROLLOVER " + this );
	}
	
	private function onRollOut( evt:MouseEvent ):void
	{
		Logger.log( "ROLLOUT " + this );
	}
	
	override public function toString():String
	{
		return( this.name );
	}
	
}
}